SetPlatformClipboard
The SetPlatformClipboard method copies any data of the specified types from this clipboard object to the system clipboard if this clipboard object has changed since the last update to the system clipboard.
void SetPlatformClipboard (in ODPlatformTypeList typeList);
typeList
- A reference to the list of platform-dependent types to be copied to the system clipboard.
DISCUSSION
You must call this method prior to invoking any platform-specific service that uses the system clipboard.This method examines the value type of each value in the contents property of this clipboard's storage unit. If the value type is in the specified platform type-list or if the
typeList
parameter iskODNULL
, this method copies the data in that value to the system clipboard.To keep system clipboard behavior consistent, this method does not attempt translation to a specified type that is not present in this clipboard object.
EXCEPTIONS
This method may also throw platform-specific exceptions.
kODErrOutOfMemory
- There is not enough memory to complete the operation.
SEE ALSO
TheODClipboard::ExportClipboard
method (page 92).
TheODPart::AdjustMenus
method (page 480).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help